package es.mahulo.battleship.api.service;

import java.util.List;

import es.mahulo.battleship.model.Game;
import es.mahulo.battleship.model.Ship;
import es.mahulo.battleship.model.Shot;




public interface GameService {

	public Game startUp(String userId) throws Exception;
	
	public Game joinPlayer(Long gameId, String userId) throws Exception;
	
	public void addShip(Long gameId, String userId, List<Ship> ships) throws Exception;
	
	public Boolean shot(Long gameId, String userId, Shot shot) throws Exception;
	
	public List<Game> getAllFromUser(String userId);

}
